/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2019-02-13 Time: 23:07
 */

import {Action} from "../../../configuration/ActionCreator"
import {procRetrieveRoomsViewAs,procHoReservationDefault,procRetrieveFtpCustom} from "../../../request/RoomsViewRequest"


/**
 * 获取数据
 */
export const RetrieveRoomsView = 'RetrieveRoomsView';
export const RetrieveRoomsViewAs = (str) => {
    let action = Action(RetrieveRoomsView);
    return dispatch => dispatch(procRetrieveRoomsViewAs(action, str))
}


/**
 * 获取不显示图标
 */
export const ReservationDefault = 'ReservationDefault';
export const HoReservationDefault = (str) => {
    let action = Action(ReservationDefault);
    return dispatch => dispatch(procHoReservationDefault(action, str))
}

/**
 * 获取不显示图标
 */
export const retrieveFtpCustom = 'retrieveFtpCustom';
export const RetrieveFtpCustom = (str) => {
    let action = Action(retrieveFtpCustom);
    return dispatch => dispatch(procRetrieveFtpCustom(action, str))
}








